﻿@model UsersEntity
	<form class="layui-form" asp-controller="User" asp-action="UserModifyPermissions" method="post">
		<div class="layui-form-item">
			<label class="layui-form-label">会员名</label>
			<div class="layui-input-inline layui-input-company">@Model.UserName</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">会员权限</label>
			<div class="layui-input-block">
				<select asp-for="IsInheritGroupRole">
					<option value="False">单独设置具体权限</option>
					<option value="True">会员组默认</option>
				</select>
				<span asp-validation-for="IsInheritGroupRole" style="color:red;"></span>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button type="submit" class="layui-btn layuiadmin-btn-list" lay-submit lay-filter="btnSubmit">提交</button>
				<button type="button" class="layui-btn layuiadmin-btn-list" onclick="layer_close()">取消</button>
				<input type="hidden" asp-for="@Model.UserID" readonly="readonly" />
			</div>
		</div>
		@Html.AntiForgeryToken()
	</form>